#include <stdio.h>
#define SUM_END 100000

int main() {
  int sum;
  for (int i = 0; i < SUM_END; i++) {
    sum += i;
  }

  printf("The sum is %d", sum);
  return sum;
}

// gcc -O3 -S .\test_sum.c